.cookbook {

    // 标题
    .title {
        height: 40px;
        padding-left: 8px;
        line-height: 40px;
        color: gray;
        background: #fff;
    }

    // 热门分类
    .category {
        width: 100%;
        background: #fff;
        display: flex;
        flex-wrap: wrap;
        overflow: hidden;
        border-bottom: 1px solid lightgray;

        a {
            color: #000;
            width: 25%;
            height: 40px;
            line-height: 40px;
            text-align: center;
            border: 1px solid lightgray;
            border-left: none;
            border-bottom: none;

            // 去除最右边的右边框
            &:nth-child(4n) {
                border-right: none;
            }
        }
    }

    // 精品好图
    .boutique {
        padding: 0 8px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}